package com.zbl.dto;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @Author: zhangjun
 * @Date: 2020/7/29 15:04
 * @Description:
 */
@Data
@Document("novel")
public class Novel {
    @Id
    @Field("id")
    private String id;

    @Field("chapter")
    private String chapter;

    @Field("content")
    private String content;
}
